package com.peppa.petshop.service;

import com.peppa.petshop.entity.Customer;
import com.peppa.petshop.vo.IndentVO;
import com.peppa.petshop.vo.PetVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author SongTiantian
 * @create 2021-06-09-9:12
 */
public interface UserService {

    List<PetVO> getPetList();

    PetVO getPet(Integer goodId);

    Customer register(String phone, String password);

    List<PetVO> getNewPetList();

    List<PetVO> getHotPetList();

    List<PetVO> searchPets(String name);
    List<PetVO> searchCategory(Integer categoryId);

    List<PetVO> getLovePetList();

    List<PetVO> getPetListOrderBy(String orderBy);

    List<IndentVO> getIndentList(Integer customerId);

    List<IndentVO> getDeliveryIndents(Integer customerId);

    List<IndentVO> getSuccessIndents(Integer customerId);

    String editPassword(Integer customerId, String oldPass, String newPass);

    Customer getCustomer(Integer customerId);
}
